package com.ffapp.f9164.td.bean;

import java.util.ArrayList;
import java.util.List;

public class DevTypeCfg extends BasisBean {

    public String VALUE0 = "F9164-L";
    public String VALUE1 = "F9164-LD";
    public String VALUE2 = "F9164-M";
    public String VALUE3 = "F-BD100RTU";
    public String VALUE4 = "F-BD100DTU";
    public String VALUE5 = "F-CD100";
    public String VALUE6 = "F-TF100";
    public String VALUE7 = "F-LD100";
    public String VALUE8 = "F-LS100";
    public String VALUE9 = "F-LL100";
    List<String> deviceList = new ArrayList<>();

    public DevTypeCfg() {
        deviceList.add(VALUE0);
        deviceList.add(VALUE1);
        deviceList.add(VALUE2);
        deviceList.add(VALUE3);
        deviceList.add(VALUE4);
        deviceList.add(VALUE5);
        deviceList.add(VALUE6);
        deviceList.add(VALUE7);
        deviceList.add(VALUE8);
        deviceList.add(VALUE9);
    }

    public boolean pushDataToDevice(int position) {
        String deviceName = deviceList.get(position);
        if (deviceName.equals(VALUE5)){
            return true;
        }
        return false;
    }

    public String getDeviceName(int position) {
        String deviceName = deviceList.get(position);
        return deviceName;
    }


}
